package cn.fangline.wo.service;

import cn.fangline.wo.model.House;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 房源表 服务类
 * </p>
 *
 * @author 抽离
 * @since 2017-04-21
 */
public interface IHouseService extends IService<House> {

	public Long saveHouse(Long userId,
                          String section, Integer room, Integer hall, Integer toilet,
                          Float area, Float totalPrice, Integer floor, Integer totalFloor,
                          String towardsItems, String tagItems, Integer template,
                          String[] serverImages,
                          Integer shareCount, Integer transCount);

    public void updateHouse(Long houseId,
                            Long userId,
                            String section, Integer room, Integer hall, Integer toilet,
                            Float area, Float totalPrice, Integer floor, Integer totalFloor,
                            String towardsItems, String tagItems, Integer template,
                            String[] serverImages,
                            Integer shareCount, Integer transCount);


}
